package com.jvm.slot;

/**
 * @author: csh
 * @Date: 2021/3/15 16:11
 * @Description: 验证 slot被重复使用
 */
public class SlotRepeatUse {

    public void test1(){
        int one = 0;
        int two = 1;
        one +=two;
        int three = one+2;
    }

    public void test() {
        int one = 0;
        {
            int two = 1;
            one +=two;
        }

        int three = one+2;
    }
}
